package org.lboot.flow.processor.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import lombok.AllArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.lboot.flow.constant.FlowNodeTypeConst;
import org.lboot.flow.model.FlowModel;
import org.lboot.flow.model.node.BaseModel;
import org.lboot.flow.model.node.TriggerModel;
import org.lboot.flow.module.work.FlowWork;
import org.lboot.flow.module.work.params.FlowTaskParams;
import org.lboot.flow.parser.FlowNodeParser;
import org.lboot.flow.processor.FlowNodeProcessor;
import org.lboot.mrest.annotation.MicroRest;
import org.lboot.mrest.client.MicroRestClient;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@AllArgsConstructor
public class TriggerProcessorImpl implements FlowNodeProcessor {
    FlowNodeParser flowNodeParser;

    @Override
    public String getNodeType() {
        return FlowNodeTypeConst.TRIGGER_NODE;
    }

    @Override
    @SneakyThrows
    public void process(FlowWork flowWork, FlowTaskParams taskParams) {

    }

    @Override
    public void back(FlowWork flowWork, FlowTaskParams taskParams) {

    }
}
